package com.jindy.module.AssetDeclared.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 资产报废对象 asset_declared
 *
 * @author jindy
 * @date 2023-04-25
 */
public class AssetDeclared extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 报废资产id */
    @Excel(name = "报废资产id")
    private Long declaredAssetId;

    /** 报废资产名称 */
    @Excel(name = "报废资产名称")
    private String declaredAssetName;

    /** 报废资产类别名称 */
    @Excel(name = "报废资产类别名称")
    private String declaredAssetClassName;

    /** 品牌 */
    @Excel(name = "品牌")
    private String assetBrand;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String assetModel;

    /** 数量 */
    @Excel(name = "数量")
    private Long declaredQuantity;

    /** 报废时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报废时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date declaredTime;

    /** 报废原因 */
    @Excel(name = "报废原因")
    private String declaredReason;

    /** 报废领用信息id */
    @Excel(name = "报废领用信息id")
    private Long declaredReceiveId;

    /** 报废负责人id */
    @Excel(name = "报废负责人id")
    private Long declaredRespId;

    /** 报废负责人名称 */
    @Excel(name = "报废负责人名称")
    private String declaredRespName;

    /** 报废负责人部门id */
    private Long declaredRespDeptId;

    /** 报废负责人部门名称 */
    @Excel(name = "报废负责人部门名称")
    private String declaredRespDeptName;

    /** 最后使用人id */
    @Excel(name = "最后使用人id")
    private Long declaredUserId;

    /** 最后使用人名称 */
    @Excel(name = "最后使用人名称")
    private String declaredUserName;

    /** 最后使用人部门id */
    @Excel(name = "最后使用人部门id")
    private Long declaredUserDeptId;

    /** 最后使用人部门名称 */
    @Excel(name = "最后使用人部门名称")
    private String declaredUserDeptName;

    /** 删除标志（0存在，1删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeclaredAssetId(Long declaredAssetId)
    {
        this.declaredAssetId = declaredAssetId;
    }

    public Long getDeclaredAssetId()
    {
        return declaredAssetId;
    }
    public void setDeclaredAssetName(String declaredAssetName)
    {
        this.declaredAssetName = declaredAssetName;
    }

    public String getDeclaredAssetName()
    {
        return declaredAssetName;
    }
    public void setDeclaredAssetClassName(String declaredAssetClassName)
    {
        this.declaredAssetClassName = declaredAssetClassName;
    }

    public String getDeclaredAssetClassName()
    {
        return declaredAssetClassName;
    }
    public void setAssetBrand(String assetBrand)
    {
        this.assetBrand = assetBrand;
    }

    public String getAssetBrand()
    {
        return assetBrand;
    }
    public void setAssetModel(String assetModel)
    {
        this.assetModel = assetModel;
    }

    public String getAssetModel()
    {
        return assetModel;
    }
    public void setDeclaredQuantity(Long declaredQuantity)
    {
        this.declaredQuantity = declaredQuantity;
    }

    public Long getDeclaredQuantity()
    {
        return declaredQuantity;
    }
    public void setDeclaredTime(Date declaredTime)
    {
        this.declaredTime = declaredTime;
    }

    public Date getDeclaredTime()
    {
        return declaredTime;
    }
    public void setDeclaredReason(String declaredReason)
    {
        this.declaredReason = declaredReason;
    }

    public String getDeclaredReason()
    {
        return declaredReason;
    }
    public void setDeclaredReceiveId(Long declaredReceiveId)
    {
        this.declaredReceiveId = declaredReceiveId;
    }

    public Long getDeclaredReceiveId()
    {
        return declaredReceiveId;
    }
    public void setDeclaredRespId(Long declaredRespId)
    {
        this.declaredRespId = declaredRespId;
    }

    public Long getDeclaredRespId()
    {
        return declaredRespId;
    }
    public void setDeclaredRespName(String declaredRespName)
    {
        this.declaredRespName = declaredRespName;
    }

    public String getDeclaredRespName()
    {
        return declaredRespName;
    }
    public void setDeclaredRespDeptId(Long declaredRespDeptId)
    {
        this.declaredRespDeptId = declaredRespDeptId;
    }

    public Long getDeclaredRespDeptId()
    {
        return declaredRespDeptId;
    }
    public void setDeclaredRespDeptName(String declaredRespDeptName)
    {
        this.declaredRespDeptName = declaredRespDeptName;
    }

    public String getDeclaredRespDeptName()
    {
        return declaredRespDeptName;
    }
    public void setDeclaredUserId(Long declaredUserId)
    {
        this.declaredUserId = declaredUserId;
    }

    public Long getDeclaredUserId()
    {
        return declaredUserId;
    }
    public void setDeclaredUserName(String declaredUserName)
    {
        this.declaredUserName = declaredUserName;
    }

    public String getDeclaredUserName()
    {
        return declaredUserName;
    }
    public void setDeclaredUserDeptId(Long declaredUserDeptId)
    {
        this.declaredUserDeptId = declaredUserDeptId;
    }

    public Long getDeclaredUserDeptId()
    {
        return declaredUserDeptId;
    }
    public void setDeclaredUserDeptName(String declaredUserDeptName)
    {
        this.declaredUserDeptName = declaredUserDeptName;
    }

    public String getDeclaredUserDeptName()
    {
        return declaredUserDeptName;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("declaredAssetId", getDeclaredAssetId())
                .append("declaredAssetName", getDeclaredAssetName())
                .append("declaredAssetClassName", getDeclaredAssetClassName())
                .append("assetBrand", getAssetBrand())
                .append("assetModel", getAssetModel())
                .append("declaredQuantity", getDeclaredQuantity())
                .append("declaredTime", getDeclaredTime())
                .append("declaredReason", getDeclaredReason())
                .append("declaredReceiveId", getDeclaredReceiveId())
                .append("declaredRespId", getDeclaredRespId())
                .append("declaredRespName", getDeclaredRespName())
                .append("declaredRespDeptId", getDeclaredRespDeptId())
                .append("declaredRespDeptName", getDeclaredRespDeptName())
                .append("declaredUserId", getDeclaredUserId())
                .append("declaredUserName", getDeclaredUserName())
                .append("declaredUserDeptId", getDeclaredUserDeptId())
                .append("declaredUserDeptName", getDeclaredUserDeptName())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
